package com.jsb.laundry.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 校服活动详情
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ActivityDetail {
    //校服卡券id
    private String holdSchoolCardId;
    //活动id
    private String goodsId;
    // 价格
//    private String goodsPrice;
    private String servePrice;
    // 商品标题
    private String goodsTitle;
    private String goodsServeDesc="校服包月";
    // 商品图片
    private String goodsPic;
    private String serveId;


    private String payId;
    private String orderId;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date payTime;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date appointmentTime;
    @JsonFormat(pattern ="yyyy-MM-dd",timezone ="GMT+8")
    private Date enableTime;
    /**
     * 是否被使用（0：未使用，1：已使用）
     */
    private String useFlag;
    private String userId;

}
